#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main() {
	int a = 0;
	while ((scanf("%d", &a)) != EOF) {
		int limit = a;
		do {
			int i = 0;
			for (i = 0; i < a + 1; i++) {
				printf("* ");
			}
			printf("\n");
			--a;
		} while (a != -1);
		a = 1;
		do {
			a++;
			int i = 0;
			for (i = 0; i < a; i++) {
				printf("* ");
			}
			printf("\n");
		} while (a < limit + 1);
	}
	return 0;
}